package drone.basis.dictionary ;

public enum SewageDict
{

	w00000 ( "污水" , "升/秒" ) ,
	w01001 ( "pH 值" , "无量纲" ) ,
	w01002 ( "色度" , "[色]度" ) ,
	w01006 ( "溶解性总固体" , "毫克/升" ) ,
	w01009 ( "溶解氧" , "毫克/升" ) ,
	w01010 ( "水温" , "摄氏度" ) ,
	w01012 ( "悬浮物" , "毫克/升" ) ,
	w01014 ( "电导率" , "微西[门子]/厘米" ) ,
	w01017 ( "五日生化需氧量" , "毫克/升" ) ,
	w01018 ( "化学需氧量" , "毫克/升" ) ,
	w01019 ( "高锰酸盐指数" , "毫克/升" ) ,
	w01020 ( "总有机碳" , "毫克/升" ) ,
	w02003 ( "粪大肠菌群" , "个/升" ) ,
	w02006 ( "细菌总数" , "个/升" ) ,
	w03001 ( "总 α 放射性" , "贝可[勒尔]/升" ) ,
	w03002 ( "总 β 放射性" , "贝可[勒尔]/升" ) ,
	w19001 ( "表面活性剂" , "毫克/升" ) ,
	w19002 ( "阴离子表面活性剂" , "毫克/升" ) ,
	w20012 ( "钡" , "毫克/升" ) ,
	w20023 ( "硼" , "毫克/升" ) ,
	w20038 ( "钴" , "毫克/升" ) ,
	w20061 ( "钼" , "毫克/升" ) ,
	w20089 ( "铊" , "纳克/升" ) ,
	w20092 ( "锡" , "毫克/升" ) ,
	w20111 ( "总汞" , "微克/升" ) ,
	w20113 ( "烷基汞" , "纳克/升" ) ,
	w20115 ( "总镉" , "微克/升" ) ,
	w20116 ( "总铬" , "毫克/升" ) ,
	w20117 ( "六价铬" , "微克/升" ) ,
	w20119 ( "总砷" , "微克/升" ) ,
	w20120 ( "总铅" , "微克/升" ) ,
	w20121 ( "总镍" , "毫克/升" ) ,
	w20122 ( "总铜" , "毫克/升" ) ,
	w20123 ( "总锌" , "毫克/升" ) ,
	w20124 ( "总锰" , "毫克/升" ) ,
	w20125 ( "总铁" , "毫克/升" ) ,
	w20126 ( "总银" , "毫克/升" ) ,
	w20127 ( "总铍" , "微克/升" ) ,
	w20128 ( "总硒" , "微克/升" ) ,
	w20138 ( "铜" , "毫克/升" ) ,
	w20139 ( "锌" , "毫克/升" ) ,
	w20140 ( "硒" , "毫克/升" ) ,
	w20141 ( "砷" , "毫克/升" ) ,
	w20142 ( "汞" , "微克/升" ) ,
	w20143 ( "镉" , "微克/升" ) ,
	w20144 ( "铅" , "毫克/升" ) ,
	w21001 ( "总氮" , "毫克/升" ) ,
	w21003 ( "氨氮" , "毫克/升" ) ,
	w21004 ( "凯氏氮" , "毫克/升" ) ,
	w21006 ( "亚硝酸盐" , "毫克/升" ) ,
	w21007 ( "硝酸盐" , "毫克/升" ) ,
	w21011 ( "总磷" , "毫克/升" ) ,
	w21016 ( "氰化物" , "毫克/升" ) ,
	w21017 ( "氟化物" , "毫克/升" ) ,
	w21019 ( "硫化物" , "毫克/升" ) ,
	w21022 ( "氯化物" , "毫克/升" ) ,
	w21038 ( "硫酸盐" , "毫克/升" ) ,
	w22001 ( "石油类" , "毫克/升" ) ,
	w23002 ( "挥发酚" , "毫克/升" ) ,
	w25043 ( "苯并[α]芘" , "微克/升" ) ,
	w33001 ( "六六六" , "纳克/升" ) ,
	w33007 ( "滴滴涕" , "纳克/升" ) ,
	w99001 ( "有机氮" , "毫克/升" ),;

	private String name ;

	private String unit ;

	private SewageDict (
			String name ,
			String unit
	)
	{
		this.name = name ;
		this.unit = unit ;
	}

	public String getName ( )
	{
		return name ;
	}

	public void setName (
			String name
	)
	{
		this.name = name ;
	}

	public String getUnit ( )
	{
		return unit ;
	}

	public void setUnit (
			String unit
	)
	{
		this.unit = unit ;
	}

	public static String code (
			String country
	)
	{
		for ( SewageDict item : SewageDict.values ( ) )
		{
			if ( item.name ( ).equalsIgnoreCase ( country ) || item.getName ( ).equalsIgnoreCase ( country ) || item.getUnit ( ).equalsIgnoreCase ( country ) )
			{
				return item.name ( ) ;
			}
		}
		return SewageDict.w00000.name ( ) ;
	}

	public static Boolean exist (
			String country
	)
	{
		for ( SewageDict item : SewageDict.values ( ) )
		{
			if ( item.name ( ).equalsIgnoreCase ( country ) || item.getName ( ).equalsIgnoreCase ( country ) || item.getUnit ( ).equalsIgnoreCase ( country ) )
			{
				return true ;
			}
		}
		return false ;
	}

}
